package it.infodea.tapestrydea.services.jcr.nodes.wrappers;

import java.io.InputStream;

import javax.jcr.Node;
import javax.jcr.RepositoryException;

/**
 * TODO [Marco]: inserire documentazione
 * @author bobpuley
 *
 */
public class JcrRootFolderNode extends JcrFolderNode {

	/**
	 * TODO [Marco]: inserire documentazione
	 * @param surroundedNode
	 * @throws RepositoryException
	 */
	public JcrRootFolderNode(Node surroundedNode) throws RepositoryException {
		super(surroundedNode);
	}

	public JcrFileNode createFile(String name, InputStream stream) throws RepositoryException{
		return null;
	}
	
	public boolean isRoot() throws RepositoryException{
		return true;
	}
	
	public JcrRootFolderNode getParent() throws RepositoryException{
		return null;
	}
	
	public JcrFileNode getFile(String name) throws RepositoryException{
		return null;
	}
	
	public boolean existsFile(String fileName) throws RepositoryException{
		return false;
	}
	
}
